<?php /* Smarty version Smarty-3.0.7, created on 2014-01-03 17:28:47
         compiled from "E:/runtime/other/zqn.sh/app_admin/_view/templates\info/edit.html" */ ?>
<?php /*%%SmartyHeaderCode:1509352c682cf752e95-98789760%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '167c8f3c355ac6b3e8e3ade0d036fe5eb3c05177' => 
    array (
      0 => 'E:/runtime/other/zqn.sh/app_admin/_view/templates\\info/edit.html',
      1 => 1388741307,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1509352c682cf752e95-98789760',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("_header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("_navibar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("_sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<script src="<?php echo @BUILD_PATH;?>
/public/xheditor/xheditor-1.1.14-zh-cn.min.js" ></script>
<div class="content">
    <div class="header">
        <div class="stats">
            <p class="stat"><!--span class="number"></span--></p>
        </div>
        <h1 class="page-title"><?php echo $_smarty_tpl->getVariable('Title')->value;?>
</h1>
    </div>
    <ul class="breadcrumb">
        <li><a href="#">控制面板 </a> <span class="divider">/</span></li>
        <li class="active"><?php echo $_smarty_tpl->getVariable('Title')->value;?>
</li>
    </ul>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="bb-alert alert alert-info" style="display: none;">
                <span>操作成功</span>
            </div>
            <!-- TPLSTART 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
            <div class="alert alert-info" style="display:<?php echo $_smarty_tpl->getVariable('AlertContainerDisplaySwitch')->value;?>
;">
				<button type="button" class="close" data-dismiss="alert">×</button>
                <?php echo $_smarty_tpl->getVariable('AlertContent')->value;?>

            </div>            
            <div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">请填写资料</a></li>
    </ul>

	<div id="myTabContent" class="tab-content">
		  <div class="tab-pane active in" id="home">

           <form id="tab" method="post" action="./?application=admin&controller=info&action=save">           	  
<input type="hidden" name="id" value="<?php echo $_smarty_tpl->getVariable('ID')->value;?>
"/>
<?php if ($_smarty_tpl->getVariable('ID')->value=='1'){?>
<textarea id="summary" name="summary" rows="13" cols="10" class="input-xxlarge" autofocus="true"><?php echo $_smarty_tpl->getVariable('Summary')->value;?>
</textarea>
<?php }?>
				<textarea id="content" name="content" rows="13" cols="10" class="input-xxlarge" autofocus="true"><?php echo $_smarty_tpl->getVariable('Content')->value;?>
</textarea>
<script>
$('#content').xheditor({
'skin':'o2007blue',
'width':'100%',
'height':500,
'upImgUrl':'./?application=admin&controller=xheditor',
'html5Upload':false,
'upMultiple':'1'
});
</script>
				<div class="btn-toolbar">
					<button type="submit" class="btn btn-primary"><strong>提交</strong></button>
				</div>
			</form>
        </div>
    </div>
</div>
<?php $_template = new Smarty_Internal_Template("_footer_common.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("_footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>